package com.qili.entity.supervisor;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * @author zhaoyongke
 * @date 2020/12/29
 * @description  工程款支付记录表
 */
@Table(name = "supervisor_pay_record")
@Data
@ToString
@EqualsAndHashCode
@Component
public class SupervisorPayRecord implements Serializable {
    /**
     * 支付Id
     */
    @Id
    @Column(name = "pay_id")
    private String payId;

    /**
     * 项目Id
     */
    @Column(name = "project_id")
    private String projectId;
    /**
     * 文件Id
     */
    @Column(name = "file_id")
    private String fileId;

    /*阶段Id*/
    @Column(name = "stage_id")
    private String stageId;

    /**
     * 里程Id
     */
    @Column(name = "spm_id")
    private String spmId;

    /**
     * 项目支付设置表Id
     */
    @Column(name = "spp_id")
    private String sppId;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private String createDate;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 支付金额
     */
    @Column(name = "zf_money")
    private String zfMoney;

    /**
     * 发票金额
     */
    @Column(name = "fp_money")
    private String fpMoney;
    /**
     * 原发票金额
     */
    @Column(name = "old_fp_money")
    private String oldFpMoney;

    /**
     * 及时行  001 提前 002 按时 003 延期
     */
    @Column(name = "js_status")
    private String jsStatus;

    /**
     * 001 承建付款  002 监理付款
     */
    @Column(name = "zf_type")
    private String zfType;

    /**
     * 原金额
     */
    @Column(name = "old_money")
    private String oldMoney;

    /**
     * 到账占比
     */
    @Column(name = "is_arrival")
    private String isArrival;


    /**
     * 到账时间
     */
    @Column(name = "arrival_date")
    private String arrivalDate;

    /**
     * 到账时间
     */
    @Column(name = "arrival_money")
    private String arrivalMoney;

    /**
     * 支付方式
     */
    @Column(name = "pay_mode")
    private String payMode;













    private static final long serialVersionUID = 1L;
}